package com.wuliming.gulimall.search.web;


import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;

@Controller
public class IndexController {

    @GetMapping({"/","/list.html", "/list"})
    public String index(Model model) {

        return "list";
    }

    @GetMapping({"/list/i"})
    public String list(Model model) {

        return "list";
    }

}
